16 #include <boost/unordered_map.hpp>
17 #include <boost/multi_array.hpp>
20 #define NNODE_ADAPT3D 4
21 #define NVARS_ADAPT3D 12
22 #define NDIMN_ADAPT3D 3
23 #define INNER_RADIUS 1.0
24 #define OUTER_RADIUS 30.0
34 #define SPHERICAL_S_GRID
35 #define DELAUNEY_SEARCH
36 #define DELAUNEY_ITER_MAX 1000
75 long open(
const std::string& filename);
95 int grid_reg_no, npoin, nelem, nboun, nconi;
96 long GRID_REG_NO_cdf_num, NPOIN_cdf_num, NELEM_cdf_num, NDIMN_cdf_num;
97 long NBOUN_cdf_num, NCONI_cdf_num;
99 void smartSearchSetup();
100 bool setupSearchUnstructuredGrid();
101 void setupOctreeGrid();
102 std::vector<Point3f> vertices;
104 std::vector<float> *coord_modified;
105 std::vector<int> * intmat_modified;
106 int index_2d_to_1d(
int i1,
int i2,
int n);
108 void locate_facing_elements();